/* 页面布局样式 */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

h2 {
    background: linear-gradient(to right, #a18cd1, #fbc2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}

.header {
    background: linear-gradient(to right, #a18cd1, #fbc2eb);
    color: #fff;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 20px;
}

.header .userinfo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .userinfo .cover {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid #ccc;
}

.header .userinfo .cover img {
    width: 100%;
}

.sidebar {
    background: linear-gradient(to right, #a18cd1, #fbc2eb);
    float: left;
    width: 150px;
    padding: 20px;
    height: calc(100vh - 100px);
}

.content {
    margin-left: 190px;
    padding: 20px;
}

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #a18cd1, #fbc2eb);
    color: #fff;
    padding: 10px;
    text-align: center;
    clear: both;
}


/* 表格样式 */

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #000;
    color: #fff;
}


/* 按钮样式 */

.button {
    background-color: #333;
    color: #fff;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #555;
}


/* 链接样式 */

a {
    text-decoration: none;
    color: #333;
}


/* 悬停样式 */

tr:hover {
    background-color: #f9f9f9;
}


/* 折叠菜单样式 */

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    list-style: none;
    margin-bottom: 5px;
}

.menu li a {
    display: block;
    padding: 8px 16px;
    background-color: #0000005c;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    color: white;
}

.menu li a:hover {
    background-color: #ccc;
}

.menu .sub-menu {
    display: none;
    margin-top: 5px;
}

.menu .sub-menu li {
    margin-left: 50px;
    width: 100px;
}

.menu .active {
    font-weight: bold;
}

iframe {
    border: none;
    width: 100%;
    height: calc(100vh - 120px);
}

.icon_p {
    margin-left: 15px;
    width: 100px;
}

.icon_p span {
    margin-right: 15px;
    cursor: pointer;
    font-size: 25px;
}